package com.prs.crm.dao.stock.impl;

import java.util.Collection;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.stock.ProductVariableDao;
import com.prs.crm.domain.stock.ProductVariable;

public class ProductVariableDaoImpl extends BaseDaoImpl<ProductVariable> implements ProductVariableDao {

	@SuppressWarnings("unchecked")
	@Override
	public Collection<ProductVariable> getAllProductVariables() {
		Criteria criteria=this.getSession().createCriteria(ProductVariable.class);
		return criteria.list();
	}

}
